package com.shop.service.impl;

import com.shop.dao.impl.TypeDAOImpl;
import com.shop.entity.Type;
import com.shop.service.TypeService;

import java.util.List;


public class TypeServiceImpl implements TypeService {

    TypeDAOImpl typeDAOimpl = new TypeDAOImpl();

    @Override
    public List<Type> list() {
        return typeDAOimpl.list();
    }
}
